export type AgentUserMessage = {
    type: 'user';
    content: string;
  };
  
  type AgentAIMessage = {
    type: 'ai';
    content?: string;
    list?: (
      | {
          type: 'text';
          content: string;
        }
      | {
          type: 'suggestion';
          content: string[];
        }
    )[];
  };
  
export type AgentMessage = AgentUserMessage | AgentAIMessage;

export type BubbleMessage = {
    role: string;
  };